﻿<Window x:Class="MusicMonitor.SettingsWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:cp="clr-namespace:DropDownCustomColorPicker;assembly=CustomColorPicker"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:Properties="clr-namespace:MusicMonitor.Properties" Title="MusicMonitor Settings" Height="283" Width="372" ResizeMode="CanMinimize" WindowStartupLocation="CenterOwner" Loaded="Window_Loaded">
    <Grid Height="240">
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="123"/>
            <ColumnDefinition Width="227*" />
        </Grid.ColumnDefinitions>
            
        <Label Content="Folder to watch" Height="28" HorizontalAlignment="Left" Margin="10,10,0,0" Name="label1" VerticalAlignment="Top" />
        <TextBox Height="23" HorizontalAlignment="Stretch" Margin="12,39,12,0" Name="textBox1" VerticalAlignment="Top" Text="{Binding Source={x:Static Properties:Settings.Default}, Path=FolderToWatch, UpdateSourceTrigger=PropertyChanged}" DataContext="{Binding}" Grid.ColumnSpan="2" />
        <Label Content="Show notifications" Height="28" HorizontalAlignment="Left" Margin="10,68,0,0" Name="label2" VerticalAlignment="Top" />
        <CheckBox Grid.Column="1" Height="23" HorizontalAlignment="Left" Margin="16,73,0,0" Name="showNotifications" VerticalAlignment="Top" Width="31" IsChecked="{Binding Source={x:Static Properties:Settings.Default}, Path=ShowNotifications}" />
        <Button Content="OK" Height="23" HorizontalAlignment="Right" Margin="0,0,12,10" Name="button1" VerticalAlignment="Bottom" Width="44" Grid.Column="1" Click="button1_Click" />
        <Button Content="Cancel" Height="23" HorizontalAlignment="Left" Margin="12,0,0,10" Name="button2" VerticalAlignment="Bottom" Width="59" Click="button2_Click" />
        <Button Content="Browse..." Grid.Column="1" Height="23" HorizontalAlignment="Right" Margin="0,10,12,0" Name="button3" VerticalAlignment="Top" Width="75" Click="button3_Click" />
        <Label Content="Window Background" Height="28" HorizontalAlignment="Left" Margin="11,118,0,0" Name="label3" VerticalAlignment="Top" />
        <Label Content="Folder Background" Height="28" HorizontalAlignment="Left" Margin="12,142,0,0" Name="label4" VerticalAlignment="Top" />
        <cp:CustomColorPicker Grid.Column="1" HorizontalAlignment="Left" Name="WindowBGSelect" Width="32" Margin="15,121,0,99" />
        <cp:CustomColorPicker Grid.Column="1" Height="20" HorizontalAlignment="Left" Name="FolderBGSelect" VerticalAlignment="Top" Width="32" Margin="15,146,0,0" />
        <Label Content="Folder Header BG" Height="28" HorizontalAlignment="Left" Margin="12,167,0,0" Name="label5" VerticalAlignment="Top" />
        <cp:CustomColorPicker Height="20" HorizontalAlignment="Left" Margin="16,171,0,0" Name="FolderHeaderBGSelect" VerticalAlignment="Top" Width="32" Grid.Column="1" />
        <Label Content="Show Artwork" Height="28" HorizontalAlignment="Left" Margin="11,91,0,0" Name="label6" VerticalAlignment="Top" />
        <CheckBox Height="20" HorizontalAlignment="Left" IsChecked="{Binding Source={x:Static Properties:Settings.Default}, Path=GetAlbumArt}" Margin="15,96,0,0" Name="GetAlbumArtCb" VerticalAlignment="Top" Width="31" Grid.Column="1" />
    </Grid>
</Window>
